package com.hospital.wx.dao;

import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
public interface RepliesDao {

    long selectCountRepliesByCommentId(Integer commentId);

    List<HashMap<String, Object>> getRepliesByCommentId(Map param);

    int addReply(Map param);

    int deleteByCommentId(Integer commentId);

    int deleteByParentReplyId(Integer replyId);

    int deleteById(Integer replyId);
}
